$(document).ready(function() {
	$("#contentIframe", parent.document.body).attr("src",
			JSP_PRE_URL+'welcome');
	// 发货确认
	$("#sendConfirmButton").on("click", function() {
		showContent('supplierSendConfirmList');
	});
	
	//退货确认
	$("#returnConfirmButton").on("click", function() {
		showContent('supplierReturnConfirmList');
	});
	
	//发货记录
	$("#showSendRecordButton").on("click", function() {
		showContent('supplierSendRecord');
	});
	//退货记录
	$("#showReturnRecordButton").on("click", function() {
		showContent('supplierReturnRecord');
	});
	
	
});


function showContent(url) {
	$("#contentIframe", parent.document.body).attr("src",
			JSP_PRE_URL+url);
}